package org.flatshare.jsf.mbean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.persistence.*;


/**
 * Entity implementation class for Entity: Roomer
 *
 */

@ManagedBean(name="ROOMER")
@RequestScoped
public class Roomer {

	private String firstName;
	private String lastName;
	private Date entryDate;
	private Date exitDate;
	private List<Invoice> invToPay;

	public Roomer() {
		super();
	}


	public String getFirstName() {
		return firstName;
	}


	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}


	public String getLastName() {
		return lastName;
	}


	public void setLastName(String lastName) {
		this.lastName = lastName;
	}


	public Date getEntryDate() {
		return entryDate;
	}


	public void setEntryDate(Date entryDate) {
		this.entryDate = entryDate;
	}


	public Date getExitDate() {
		return exitDate;
	}


	public void setExitDate(Date exitDate) {
		this.exitDate = exitDate;
	}


	public List<Invoice> getInvToPay() {
		return invToPay;
	}


	public void setInvToPay(List<Invoice> invToPay) {
		this.invToPay = invToPay;
	}
	
	
   
}
